import React, { Component } from 'react'
import { Grid } from 'antd-mobile'
import '../style/less/home/HomeGird/HomeGird.less'
export default class HomeGird extends Component {
    constructor(props) {
        super(props)
        this.state = {
            data: [
                {
                    icon: require('../style/images/subjectIcons1.png').default,
                    text: 'Jaxa EE'
                },
                {
                    icon: require('../style/images/subjectIcons2.png').default,
                    text: '全盏UI设计'
                },
                {
                    icon: require('../style/images/subjectIcons3.png').default,
                    text: 'H5 前端'
                },
                {
                    icon: require('../style/images/subjectIcons4.png').default,
                    text: 'Python'
                },
                {
                    icon: require('../style/images/subjectIcons5.png').default,
                    text: 'iOS'
                },
                {
                    icon: require('../style/images/subjectIcons6.png').default,
                    text: '大数据'
                },
                {
                    icon: require('../style/images/subjectIcons7.png').default,
                    text: 'C++'
                },
            ]
        }

    }
    render() {
        return (
            <div>
                <Grid data={this.state.data} hasLine={false} />
                <h5>相关咨询</h5>
            </div>
        )
    }
}
